<script setup>

import {FromClient} from "@ginstone/nga-api/dist/src/enums/FromClient";

const props = defineProps({
  client: {type: String},
})

</script>

<template>
    <span v-if="client">
        <span v-if="client===FromClient.Android"><el-tag type="success">Android</el-tag></span>
        <span v-if="client===FromClient.IOS"><el-tag type="warning">IOS</el-tag></span>
        <span v-if="client===FromClient.PC"><el-tag>PC</el-tag></span>
    </span>
</template>

<style scoped>
</style>